﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Marmat.Common.Http
{
    public class ActionFilterAttribute : Attribute, IApiActionFilter
    {
        /// <summary>
        /// 操作执行前做的事情
        /// </summary>
        /// <param name="context"></param>
        public virtual void OnActionExecuting(ApiActionContext context)
        {
        }

        ///// <summary>
        ///// 操作执行后做的事情
        ///// </summary>
        ///// <param name="context"></param>
        //public virtual void OnActionExecuted(ApiActionContext context)
        //{
        //}
    }
}
